package com.xgh.threadLocalTest;

/**
 * @ClassName MyTL
 * @Description
 * @Author xinggh
 * @Date 2020/7/22 23:06
 * @Version 1.0
 **/
public class MyTL {


    public static ThreadLocal<String> threadLocal1 = new ThreadLocal<>();


    public static ThreadLocal<String> threadLocal2 = new ThreadLocal<>();

    public static void main(String[] args) {
       // System.out.println(MyTL.threadLocal2.get());
        threadLocal1.set("1");
        threadLocal2.set("2");

    }
}
